<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <button id="demo">demo按钮</button>
    <script src="./02-amd-1.js"></script>
    <script>
        F.module(['lib/event','lib/dom'],function(events,dom){
            events.on('demo','click',function(){
                dom.html('demo','success');
            })
        });
    </script>
</body>
</html>